class OscMedal {
	String obtainCondition;
	String obtainDate;
	String lightLargeLogo;
	bool show;
	String title;
	int type;
	bool canApplyFor;
	String grayLargeLogo;
	String applyWay;
	String intro;
	int id;
	String lightLogo;
	int category;
	String grayLogo;
	int applyStatus;//0:未授予，1:审核授予？，2:已授予，

	OscMedal({this.obtainCondition, this.obtainDate, this.lightLargeLogo, this.show, this.title, this.type, this.canApplyFor, this.grayLargeLogo, this.applyWay, this.intro, this.id, this.lightLogo, this.category, this.grayLogo, this.applyStatus});

	OscMedal.fromJson(Map<String, dynamic> json) {
		obtainCondition = json['obtainCondition'];
		obtainDate = json['obtainDate'];
		lightLargeLogo = json['lightLargeLogo'];
		show = json['show'];
		title = json['title'];
		type = json['type'];
		canApplyFor = json['canApplyFor'];
		grayLargeLogo = json['grayLargeLogo'];
		applyWay = json['applyWay'];
		intro = json['intro'];
		id = json['id'];
		lightLogo = json['lightLogo'];
		category = json['category'];
		grayLogo = json['grayLogo'];
		applyStatus = json['applyStatus'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['obtainCondition'] = this.obtainCondition;
		data['obtainDate'] = this.obtainDate;
		data['lightLargeLogo'] = this.lightLargeLogo;
		data['show'] = this.show;
		data['title'] = this.title;
		data['type'] = this.type;
		data['canApplyFor'] = this.canApplyFor;
		data['grayLargeLogo'] = this.grayLargeLogo;
		data['applyWay'] = this.applyWay;
		data['intro'] = this.intro;
		data['id'] = this.id;
		data['lightLogo'] = this.lightLogo;
		data['category'] = this.category;
		data['grayLogo'] = this.grayLogo;
		data['applyStatus'] = this.applyStatus;
		return data;
	}
}
